package com.canbot.u05.bean.guide;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by zmp on 2017/5/21.
 */
public class MapInfo{

        private Long _id;

        private String mapName;

        private String imagePng;

        private float knowarea_x;

        private float knowarea_y;

        public String getJopPosition() {
                return jopPosition;
        }

        @Override
        public String toString() {
                return "MapInfo{" +
                        "_id=" + _id +
                        ", mapName='" + mapName + '\'' +
                        ", imagePng='" + imagePng + '\'' +
                        ", knowarea_x=" + knowarea_x +
                        ", knowarea_y=" + knowarea_y +
                        ", jopPosition='" + jopPosition + '\'' +
                        ", mapTaskInfos=" + mapTaskInfos +
                        ", localPoints=" + localPoints +
                        ", personPoints=" + personPoints +
                        '}';
        }

        public void setJopPosition(String jopPosition) {
                this.jopPosition = jopPosition;
        }

        private String jopPosition;

        private List<MapTaskInfo> mapTaskInfos;

        private List<LocalPointsBean> localPoints;

        private List<PersonPointsBean> personPoints;

        public MapInfo() {
                mapTaskInfos = new ArrayList<>();
        }

        public float getKnowarea_x() {
                return knowarea_x;
        }

        public void setKnowarea_x(float knowarea_x) {
                this.knowarea_x = knowarea_x;
        }

        public float getKnowarea_y() {
                return knowarea_y;
        }

        public void setKnowarea_y(float knowarea_y) {
                this.knowarea_y = knowarea_y;
        }

        public String getImagePng() {
                return imagePng;
        }

        public void setImagePng(String imagePng) {
                this.imagePng = imagePng;
        }

        public Long get_id() {
                return _id;
        }

        public void set_id(Long _id) {
                this._id = _id;
        }

        public String getMapName() {
                return mapName;
        }

        public void setMapName(String mapName) {
                this.mapName = mapName;
        }

        public List<MapTaskInfo> getMapTaskInfos() {
                if (mapTaskInfos == null) {
                        mapTaskInfos = new ArrayList<>();
                }
                return mapTaskInfos;
        }

        public void setMapTaskInfos(List<MapTaskInfo> mapTaskInfos) {
                this.mapTaskInfos = mapTaskInfos;
        }

        public List<LocalPointsBean> getLocalPoints() {
                return localPoints;
        }

        public void setLocalPoints(List<LocalPointsBean> localPoints) {
                this.localPoints = localPoints;
        }

        public List<PersonPointsBean> getPersonPoints() {
                return personPoints;
        }

        public void setPersonPoints(List<PersonPointsBean> personPoints) {
                this.personPoints = personPoints;
        }

}
